home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 001275_daemon _Mon Jun 14 17:16:38 1993.msg < prev    next >
Internet Message Format  |  1994-01-24  |  4KB

  1. Received: by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  2.     id AA04379; Mon, 14 Jun 93 17:16:41 MET DST
  3. Return-Path: <Damian.Cugley@prg.ox.ac.uk>
  4. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  5.     id AA04375; Mon, 14 Jun 93 17:16:38 MET DST
  6. Received: from chx400.switch.ch by dxmint.cern.ch (5.65/DEC-Ultrix/4.3)
  7.     id AA17837; Mon, 14 Jun 1993 17:38:43 +0200
  8. X400-Received: by mta chx400.switch.ch in /PRMD=switch/ADMD=arcom/C=CH/;
  9.                Relayed; Mon, 14 Jun 1993 17:38:22 +0200
  10. X400-Received: by /PRMD=uk.ac/ADMD= /C=gb/; Relayed;
  11.                Mon, 14 Jun 1993 17:34:47 +0200
  12. X400-Received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed;
  13.                Mon, 14 Jun 1993 17:34:32 +0200
  14. X400-Received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed;
  15.                Mon, 14 Jun 1993 17:35:21 +0200
  16. X400-Received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed;
  17.                Mon, 14 Jun 1993 17:35:17 +0200
  18. X400-Received: by /PRMD=UK.AC/ADMD= /C=GB/; Relayed;
  19.                Mon, 14 Jun 1993 17:35:17 +0200
  20. Date: Mon, 14 Jun 1993 17:35:17 +0200
  21. X400-Originator: Damian.Cugley@prg.oxford.ac.uk
  22. X400-Recipients: www-talk@NXOC01.cern.ch
  23. X400-Mts-Identifier: [/PRMD=UK.AC/ADMD= /C=GB/;<9306141535.AA00686@boothp1.ecs.]
  24. X400-Content-Type: P2-1984 (2)
  25. Content-Identifier: Re: SPaces an...
  26. From: Damian.Cugley@prg.ox.ac.uk
  27. Message-Id: <9306141535.AA00686@boothp1.ecs.ox.ac.uk>
  28. To: www-talk@nxoc01.cern.ch
  29. Subject: Re: SPaces and Tabs in HTML documents
  30.  
  31. > I would like to specify that multiple spaces be interpreted as such.
  32. > Would this be a big problem for anyone?
  33.  
  34. As a general attitude to spacing, I still think that Knuth got it
  35. right with TeX [TeXbook, p.46]: by default newlines, tabs and spaces
  36. are treated as equivalent, multiple spaces are collapsed, spaces and
  37. tabs at the starts of lines are ignored, and extra space after
  38. punctuation is handled separately.  (TeX is a typesetter, and spacing
  39. punctuation in one-space units would be too coarse.)  Knuth's thinking
  40. was that if you can't see the difference on the screen then it should
  41. not make a difference to the final output.
  42.  
  43. On the other hand, there are two reasons not to adopt Knuth's
  44. conventions verbatim: first, your hands are likely tied by SGML
  45. compatibility; second, you are working in a fairly clunky character
  46. medium rather than fine typesetting.  If the spacing is done in units
  47. of a normal inter-word space, then indicating a double-wdith space
  48. with two space characters *is* an expedient convention.  (Especially
  49. as HTML has no way of distinguishing an end-of-sentence full stop from
  50. an abbreviation-indicating fill stop.)
  51.  
  52. That said, being able to rigidly indent the text of a document with
  53. markup can greatly improve its legibility -- with TeX documents I
  54. indent the text one tab stop, leaving the macros that generate
  55. headings and delimit regions of text in column 0.  This makes the
  56. structure of the document easier to follow.  (It also prevents UNIX
  57. sendmail from inserting ">" characters before "From".)  The same
  58. applies to HTML documents, excapt that if the text is indented, only
  59. Mosaic can display them properly.
  60.  
  61. You could specify that any number of whitespace characters (SP, HT,
  62. LF, CR) may follow the CR or LF marking the end of a line, and they're
  63. all ignored (except in PRE elements, of course).  This would mean that
  64. indentation of text lines is ignored, as well as any blank lines (even
  65. ones with spaces on them).  Doubled spaces after sentences would be
  66. preserved.  This should be easy to implement, and allows people like
  67. me to format their text pretty much as they would like.
  68.  
  69. Damian